package com.ybkj.daijia.server.service.impl.route;

import com.ybkj.daijia.server.mapper.route.PointMapper;
import com.ybkj.daijia.server.service.route.IPointService;
import com.ybkj.daijia.server.zhuanxian.route.Point;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 起终点表 服务实现类
 * </p>
 *
 * @author xwy
 * @since 2019-12-23
 */
@Service
public class PointServiceImpl implements IPointService {

    @Autowired
    private PointMapper pointMapper;

    @Override
    public Point findOneBySame(String name, String province, String city) {
        return pointMapper.findOneBySame(name,province,city);
    }
}
